package cn.kgc.service;

import cn.kgc.dao.mapper.ItripCommentMapper;
import cn.kgc.dtos.Dto;
import cn.kgc.util.SolrjUtil;
import cn.kgc.voi.HotCityVo;
import cn.kgc.voi.SearchQueryVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class HotelServiceImpl implements  HotelService {
    @Resource
    private SolrjUtil solrjUtil;
   @Override
  public Dto searchHotel(SearchQueryVo sqv) {
        return solrjUtil.search(sqv);
    }

    @Override
    public Dto searchItripHotelListByHotCity(HotCityVo hotCityVo) {
        return solrjUtil.search(hotCityVo);
    }
}
